package io.renren.modules.sys.dao;

import io.renren.modules.sys.entity.SysUser1Entity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 系统用户
 * 
 * @author Mark
 * @email sunlightcs@gmail.com
 * @date 2020-08-14 09:08:45
 */
@Mapper
public interface SysUser1Dao extends BaseMapper<SysUser1Entity> {

    /**
     * 查询用户的所有权限
     * @param userId  用户ID
     */
    List<String> queryAllPerms(Long userId);

    /**
     * 查询用户的所有菜单ID
     */
    List<Long> queryAllMenuId(Long userId);
	
}
